﻿<%@ Page Language="VB" MasterPageFile="~/AdmMaster.master" AutoEventWireup="false" CodeFile="AdmRnkListarRankings.aspx.vb" Inherits="ranking_AdmRnkListarRankings" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table>
        <tr>
            <td style="width: 22px">
                &nbsp;</td>
            <td style="width: 727px">
                <p class="titulo-pagina">
                    Gerenciamento de Rankings</p>
            </td>
        </tr>
        <tr>
            <td style="width: 22px">
                &nbsp;</td>
            <td style="width: 727px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 22px; height: 24px;">
            </td>
            <td style="width: 100%; height: 24px;" valign="middle">
                <asp:RadioButtonList ID="rblStatus" runat="server" AutoPostBack="True" 
                    RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True">Ativos</asp:ListItem>
                    <asp:ListItem>Todos</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td style="width: 22px">
                &nbsp;</td>
            <td style="width: 727px">
                <asp:GridView ID="grvRankings" runat="server" AutoGenerateColumns="False" 
                    CellPadding="4" DataKeyNames="IdRanking" ForeColor="#333333" GridLines="None">
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <RowStyle BackColor="white" ForeColor="#F99C5F" />
                    <Columns>
                        <asp:BoundField DataField="IdRanking" HeaderText="Id">
                            <HeaderStyle HorizontalAlign="Center" />
                            <ItemStyle HorizontalAlign="Center" Width="30px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Nome" HeaderText="Nome">
                            <HeaderStyle HorizontalAlign="Center" />
                            <ItemStyle HorizontalAlign="Left" Width="170px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Tipo" HeaderText="Tipo">
                            <HeaderStyle HorizontalAlign="Center" />
                            <ItemStyle HorizontalAlign="Center" Width="60px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Produto" HeaderText="Produto">
                            <ItemStyle Width="60px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Inicio" DataFormatString="{0:dd/MM/yyyy}" 
                            HeaderText="Início">
                            <HeaderStyle HorizontalAlign="Center" />
                            <ItemStyle HorizontalAlign="Center" Width="50px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Fim" DataFormatString="{0:dd/MM/yyyy}" 
                            HeaderText="Fim">
                            <HeaderStyle HorizontalAlign="Center" />
                            <ItemStyle HorizontalAlign="Center" Width="50px" />
                        </asp:BoundField>
                        <asp:TemplateField>
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Edit" 
                                    SkinID="lnkGridView">Editar</asp:LinkButton>
                            </ItemTemplate>
                            <ItemStyle Width="55px" />
                        </asp:TemplateField>
                    </Columns>
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#e7e7e7" Font-Bold="True" ForeColor="black" />
                    <EditRowStyle BackColor="#999999" />
                    <AlternatingRowStyle BackColor="#F99C5F" ForeColor="#e7e7e7" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style="width: 22px">
                &nbsp;</td>
            <td style="width: 727px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 22px">
                &nbsp;</td>
            <td style="width: 727px">
                <asp:Button ID="btnRanking" runat="server" BackColor="white" 
                    BorderStyle="Solid" Font-Names="Arial" ForeColor="#F99C5F" 
                    Text="Novo Ranking" Width="131px" />
                &nbsp;
                <asp:Button ID="btnMediar" runat="server" BackColor="white" 
                    BorderStyle="Solid" Font-Names="Arial" ForeColor="#F99C5F" 
                    Text="Mediar Mensagens" Width="131px" />
            </td>
        </tr>
        <tr>
            <td style="width: 22px">
                &nbsp;</td>
            <td style="width: 727px">
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

